package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.dto.system.AssginMenuDto;
import com.atguigu.spzx.model.entity.system.SysMenu;
import com.atguigu.spzx.model.vo.system.SysMenuVo;

import java.util.List;
import java.util.Map;

public interface SysMenuService {
    List<SysMenu> findMenu();

    void addMenu(SysMenu sysMenu);

    SysMenu getById(Long id);

    void updateById(SysMenu sysMenu);

    void deleteById(Long id);

    Map<String, Object> toAssignMenu(Long id);

    void doAssign(AssginMenuDto assginMenuDto);

    List<SysMenuVo> getSysUserMenu();
}
